package com.pentakill.mo.auth.user.vo;

import java.util.Set;

import com.pentakill.mo.auth.role.vo.RoleModel;

public class UserModel {
	//用户登录名称
	public static final String USER_LOGIN_OBJECT_NAME = "loginUser";
	
	
	public static final int USER_STATUS_COMMON = 1;
	public static final int USER_STATUS_ADMIN = 2;
	
	private Integer uuid;
	private String loginID;
	

	private String name;
	private String password;
	private String mail;
	private Integer status ;
	//用户对角色的多对多
	private Set<RoleModel> roleModels;
	
	public Set<RoleModel> getRoleModels() {
		return roleModels;
	}
	public void setRoleModels(Set<RoleModel> roleModels) {
		this.roleModels = roleModels;
	}
	public Integer getUuid() {
		return uuid;
	}
	public void setUuid(Integer uuid) {
		this.uuid = uuid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	
	public String getLoginID() {
		return loginID;
	}
	public void setLoginID(String loginID) {
		this.loginID = loginID;
	}
	
	
}
